home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- ARRIBA = _root.ARRIBA;
- DER = _root.DER;
- IZQ = _root.IZQ;
- SHOOT = _root.SHOOT;
- SLIDEKEY = _root.SLIDEKEY;
- if(_root.posY && !_root.died)
- {
- _Y = _root.posY;
- }
- if(_root.died)
- {
- _root.currentdamage = 0;
- }
- _root.died = false;
- GRIDSIZE = _root.GRIDSIZE;
- mapa = eval(_root.mapa);
- shoot1 = eval(_root.shoot1);
- vforcei = 3;
- vforce = 8;
- hforce = 5;
- hforcei = 1;
- horizontal = 0;
- vertical = 8;
- MAXVERTICAL = 15;
- MAXJUMP = 38;
- friction = 0.5;
- gravity = 0.6;
- accel = 1.6;
- rising = false;
- falling = true;
- lastX = _X;
- lastY = _Y;
- platform = null;
- plataforma = false;
- scrolling = false;
- platformscroll = 0;
- topeizq = false;
- justshoot = false;
- shooting = false;
- slide = false;
- slidereleased = true;
- slidetimer = 0;
- SLIDETIME = 10;
- keys = true;
- upreleased = true;
- abletoshoot = true;
- blast = new Sound();
- blast.attachSound("shoot02");
- salto = new Sound();
- salto.attachSound("salto");
- landing = new Sound();
- landing.attachSound("landing");
- barrida = new Sound();
- barrida.attachSound("barrida");
- accel2 = 1.1;
- tornado = false;
- vforce2 = 0.005;
- soundtrigged = false;
- u = 0;
- }
-